package com.qyer.lxp.model.product.normal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 获取产品信息描述
 * Created by wangzhen on 16/5/18.
 */

@XmlRootElement(name = "extend-property")
@XmlAccessorType(XmlAccessType.FIELD)
public class ProductExtendPropertie implements Serializable{
    private static final long serialVersionUID = 2299530736223326143L;

    private int id;

    /**
     * 属性 code
     */
    @XmlElement(name = "code")
    private String code;

    /**
     * 属性 name
     */
    @XmlElement(name = "name")
    private String name;

    /**
     * 值
     */
    @XmlElement(name = "value")
    private String value;


    private String productCode;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
